package com.gome.ocean.service.authority;

import com.gome.ocean.dao.model.authority.SmsBO;

public interface SmsService {

    boolean saveSmsBO(SmsBO smsBO);

    boolean deleteSmsBOById(Long id);

    boolean updateSmsBOById(SmsBO smsBO);

    boolean isValid(String phone,String code);

    SmsBO findSmsBOByPhone(SmsBO smsBO);

    boolean sendSms(String phone, String code);
    
    boolean sendSms(String env, String phone, String code,String businessName,String templateId);
}
